class CreateTemplateCategories < ActiveRecord::Migration
  def self.up
    create_table :template_categories,:force=>true do |t|
      t.string :name
      t.string :display_name
    end
    TemplateCategory.create(:name=>"空调",:display_name=>"空调类别")
  end

  def self.down
    drop_table :template_categories
  end
end
